package com.firstsight.micro.homedo.entity;

import java.util.Date;

/**
 * Created on 2021/4/13.
 *
 * @author yanshuchun
 */

public class TaskRunnable implements Runnable  {
    private String name;
    public TaskRunnable(String name) {
        this.name = name;
    }
    @Override
    public void run() {
        System.out.println(name + "---动态定时任务运行---" + new Date());
    }
}